package com.neuronrobotics.opengl.scene;

import com.neuronrobotics.replicator.gui.stl.GeneralTransform3D.MatrixOrder;

public interface Transformable {
	
	
	/**
	 * Sets model transform with the given matrix order
	 * Model transform is a 4x4 matrix stored as a 16 float array
	 * @param newTransform
	 * @return false if newTrasnform is too small, true otherwise
	 */
	public boolean setTransform(float[] newTransform, MatrixOrder mo);
	
	/**
	 * Sets resultTrasnsform to current transform using the given MatrixOrder
	 * @param resultTransform
	 * @param mo
	 * @return false if resultTransform is too small, true otherwise
	 */
	public boolean getTransform(float[] resultTransform, MatrixOrder mo);

}
